diff options
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 35 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..e7e8e6ba --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,35 @@ + +module.wasm: file format wasm 0x1 + +Section Details: + +Type[2]: + - type[0] (i32, i32) -> i32 + - type[1] () -> nil +Import[3]: + - table[0] type=funcref initial=0 <- env.__indirect_function_table + - func[0] sig=0 <shed__runtime__string_add> <- env.shed__runtime__string_add + - memory[0] pages: initial=0 <- env.__linear_memory +Function[1]: + - func[1] sig=1 <f> +Code[1]: + - func[1] size=8 <f> +Custom: + - name: "linking" + - symbol table [count=2] + - 0: F <shed__runtime__string_add> func=0 [ undefined explicit_name binding=global vis=default ] + - 1: F <f> func=1 [ binding=global vis=default ] +Custom: + - name: "reloc.CODE" + - relocations for section: 3 (Code) [1] + - R_WASM_FUNCTION_INDEX_LEB offset=0x000008(file=0x00008e) symbol=0 <shed__runtime__string_add> +Custom: + - name: "name" + - func[0] <shed__runtime__string_add> + - func[1] <f> + +Code Disassembly: + +00008c func[1] <f>: + 00008d: 10 80 80 80 80 00 | call 0 <shed__runtime__string_add> + 000093: 0b | end
\ No newline at end of file |
